const routers = [
    {
        path: '/index',
      name:'index',
      text:"文档综述",
        component:(resolve) => require(['./views/index.vue'],resolve),
        meta:{
            title:'首页',
            show: true 
        }
    },
    {
        path: '/Node/Droute',
      name:'Droute',
      text:"动态路由",
        component:(resolve) => require(['./views/Node/index.vue'],resolve),
        meta:{
            title:'动态路由',
            show: true 
        }
    },
    {
        path: '/',
        redirect: '/index'
    }
    ,
    {
        path: '*',
        redirect: '/index'
    }

]

export default routers